package com.its.us.web.utils.Tree;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @Author: master
 * @Date: 2020/11/5 18:16
 * @Version: 1.0
 */
@Data
@NoArgsConstructor
public class TreeMenu implements Serializable {
    private static final long serialVersionUID = 1L;

    private String id;

    private String text;

    private String url;

    private String state;//value closed,open

    private boolean checked; //

    private String parentId;

    private String iconCls; //图标

    private Map<String,Object> attributes = new HashMap<>();

    private List<TreeMenu> children;
}
